package com.anche.cywebnew.Service.configManager;

import com.anche.cywebnew.Pojo.systemManager.SysResource;

import java.util.List;

public interface ResourceService {
    List<SysResource> getResourceTable();

    void updateResource(SysResource sysResource);

    void updateStatusById(String id, Integer status);

    void delResourceById(String id);

    void addResource(SysResource sysResource);

    List<Object> getTreeResource(String regroup);

    List<SysResource> getResourceByUrl(String url);
}
